package com.thinkgem.jeesite.modules.sys.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.sys.entity.TbWithdrawApply;
import com.thinkgem.jeesite.modules.sys.entity.TbWithdrawApplyExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@MyBatisDao
public interface TbWithdrawApplyMapper extends CrudDao<TbWithdrawApply> {
    int countByExample(TbWithdrawApplyExample example);

    int findAllCount();

    int deleteByExample(TbWithdrawApplyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbWithdrawApply record);

    int insertSelective(TbWithdrawApply record);

    List<TbWithdrawApply> selectByExample(TbWithdrawApplyExample example);

    TbWithdrawApply selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbWithdrawApply record, @Param("example") TbWithdrawApplyExample example);

    int updateByExample(@Param("record") TbWithdrawApply record, @Param("example") TbWithdrawApplyExample example);

    int updateByPrimaryKeySelective(TbWithdrawApply record);

    int updateByPrimaryKey(TbWithdrawApply record);

    void updateWithDrawalStatus(TbWithdrawApply tbWithdrawApply);
}